package org.zoomdev.zoom.dao.entities;

import org.zoomdev.zoom.dao.annotations.Column;
import org.zoomdev.zoom.dao.annotations.Join;
import org.zoomdev.zoom.dao.annotations.Link;
import org.zoomdev.zoom.dao.annotations.Table;


@Link(@Join(table = "c_customer", on = "c_customer.cm_id=a_collection.cm_id"))
@Table("a_collection")
public class CustomerCollection2 {

    private Integer proId;

    private Integer cmId;

    @Column(value = "c_customer.cm_account", adapter = AccountAdapter.class)
    private String account;

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
}
